//
//  ZCDetailListModel.m
//  VoiceMusic
//
//  Created by dllo on 15/10/21.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCDetailListModel.h"

@implementation ZCDetailListModel

-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    
    self=[super init];
    if(self){
        self.picUrl=[aDecoder decodeObjectForKey:@"1000"];
        self.name=[aDecoder decodeObjectForKey:@"1001"];
        self.singerName = [aDecoder decodeObjectForKey:@"1002"];
        self.auditionList = [aDecoder decodeObjectForKey:@"1004"];
        self.mvList = [aDecoder decodeObjectForKey:@"1005"];
    }
    return self;
}
-(void)encodeWithCoder:(NSCoder *)aCoder{
    
    [aCoder encodeObject:self.picUrl forKey:@"1000"];
    [aCoder encodeObject:self.name forKey:@"1001"];
    [aCoder encodeObject:self.singerName forKey:@"1002"];
    [aCoder encodeObject:self.auditionList forKey:@"1004"];
    [aCoder encodeObject:self.mvList forKey:@"1005"];

}

@end
